#include<stdio.h>
#include<stdlib.h>
#include<math.h>
#include<string.h>
#include<ctype.h>
#include<conio.h>
#include<stdbool.h>
#include<time.h>

#define FALSE  false
#define TRUE   true
#define False  false
#define True   true

#define do     {
#define enddo  }

//main.c
int show_menu();
int select_problem(int *runFlag);
//acm_*.c
/*----------------------------------------------------------*/
/*----- Volume I ~ IX -----*/
int acm_00100();
    int swap(int *i,int *j);
int acm_00272();
    int cycle(int n);
int acm_00458();
int acm_00476();
int acm_00477();
int acm_00488();
int acm_00494();
int acm_00579();
int acm_00591();
int acm_00913();
/*----- Volume C -----*/
int acm_10018();
int acm_10019();
int acm_10055();
int acm_10071();
/*----- Volume CIII ~ CIX-----*/
int acm_10370();
int acm_10924();
    int isPrime(int num);
/*----- Volume CXI-----*/
int acm_11172();
/*----------------------------------------------------------*/
/* tools.c begin */
int test();
    int timeCounter();
    int xor(bool p,bool q);
    int xnor(bool p,bool q);
    int dec2hex(int dec);
/* tools.c  end  */


